package com.jxx.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * @program: jingxixi
 * @description: 分页实体类
 * @author: laixinghua
 * @create: 2020-12-01 08:43
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class PageObject<T> implements Serializable {

    /**总记录数*/
    private Long  total;
    /**当前页记录*/
    private List<T> records;
}
